package com.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName ExecptionController
 * @Description TODO
 * @Author Windy
 * @Date 2022/9/6 16:44
 * @Version 1.0
 **/
@Controller
@RequestMapping("exception")
public class ExecptionController {
    @RequestMapping("airthem")
    public String airthem(){
        int i=1/0;
        return "success";
    }
}
